package com.chinasofti.project.web.form;

import com.chinasofti.project.common.ObjectBase;

public class LineItemForm extends ObjectBase {
	
	private int userId;
	
	private int pageIdx;

	private int pageSize;

	private int limitStart;

	public LineItemForm PageInfo() {
		return null;
	}

	public LineItemForm(int pageIdx, int pageSize) {
		this.pageIdx = pageIdx;
		this.pageSize = pageSize;
		this.limitStart = ((pageIdx) - 1) * pageSize;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getPageIdx() {
		return pageIdx;
	}

	public void setPageIdx(int pageIdx) {
		this.pageIdx = pageIdx;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getLimitStart() {
		return limitStart;
	}

	public void setLimitStart(int limitStart) {
		this.limitStart = limitStart;
	}


}
